package com.zhijiang.hospital.service.impl;

import com.zhijiang.hospital.entity.dto.HospitalIndexDto;
import com.zhijiang.hospital.mapper.HospitalIndexDtoMapper;
import com.zhijiang.hospital.service.HospitalIndexDtoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project IndexDataOfTertiaryHospitals
 * @description
 * @date 2023-03-07 16:16:24
 */
@Service
public class HospitalIndexDtoServiceImpl implements HospitalIndexDtoService {
    @Autowired
    private HospitalIndexDtoMapper hospitalIndexDtoMapper;

    @Override
    public List<HospitalIndexDto> findHospitalIndex() {
        return hospitalIndexDtoMapper.findHospitalIndex();
    }
}
